package me.zhengjie.modules.management.service.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import me.zhengjie.modules.management.domain.MrMaterialDtl;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;

/**
 * @program: eladmin
 * @description: 会议目的dto
 * @author: ming.cao
 * @create: 2020-12-16 16:10
 **/

@Data
@AllArgsConstructor
@NoArgsConstructor
public class MrConferencePurposeDto implements Serializable {
    @ApiModelProperty("ID")
    private Integer purposeId;

    @ApiModelProperty("会议室用途名称")
    private  String purposeName;

    @ApiModelProperty("用途对象")
    private Integer purposeFor;

    @ApiModelProperty("是否准备接待物资 0 否; 1 是")
    private Integer hadMaterial;

    @ApiModelProperty("状态")
    private Integer status;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    private Timestamp createDateTime;

    @ApiModelProperty("创建人")
    private String createUserId;

    @ApiModelProperty("修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" ,timezone = "GMT+8")
    private Timestamp modifyDateTime;

    @ApiModelProperty("修改人")
    private String modifyUserId;

    @ApiModelProperty("按人数收费物资选项")
    private List<MrMaterialDtl> materialsByNo;

    @ApiModelProperty("按小时收费物资选项")
    private List<MrMaterialDtl> materialsByTime;

}
